<template>
  <a-layout-sider width="100">
    <a-menu
      mode="inline"
      :defaultSelectedKeys="['1']"
      :defaultOpenKeys="['sub1']"
    >
      <a-menu-item key="1" @click="$router.push('/school/watchschool/index/'+ID)">机构首页</a-menu-item>
      <a-menu-item key="2" @click="$router.push('/school/watchschool/course/'+ID)">产品选用</a-menu-item>
      <a-menu-item key="3" @click="$router.push('/school/watchschool/teacher/'+ID)">员工</a-menu-item>
      <a-menu-item key="4" @click="$router.push('/school/watchschool/user/'+ID)">用户</a-menu-item>
      <a-menu-item key="5" @click="$router.push('/school/watchschool/classroom/'+ID)">教室</a-menu-item>
      <a-menu-item key="6" @click="$router.push('/school/watchschool/clazz/'+ID)">班级</a-menu-item>
    </a-menu>
  </a-layout-sider>
</template>
<script>
export default {
  name: "school_left",
  props: ["ID"]
};
</script>